package com.devunion.bogdan.view.project;

import javax.swing.tree.DefaultMutableTreeNode;

/**
 * @author Viktar Liaskovich
 */
public abstract class AbstractEntryNode<T> extends DefaultMutableTreeNode implements EntryNode {
    public AbstractEntryNode(T userObject) {
        super(userObject);
    }

    public AbstractEntryNode(T userObject, boolean allowsChildren) {
        super(userObject, allowsChildren);
    }


    public T getUserObject() {
        return (T) super.getUserObject();
    }
}
